package com.umeox.ota.data.db;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * @author fighter_lee
 * @date 2018/7/25
 */
@Entity(tableName = "Client")
public class ClientEntity {

    @PrimaryKey
    private int _id = 0;

    @ColumnInfo(name = "Mid")
    private String mid;

    @ColumnInfo(name = "DownloadTime")
    private int downloadTime;

    /**
     *  mid 获取次数
     */
    @ColumnInfo(name = "ObtainMidTime")
    private int obtainMidTime;

    public int get_id() {
        return _id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public int getDownloadTime() {
        return downloadTime;
    }

    public void setDownloadTime(int downloadTime) {
        this.downloadTime = downloadTime;
    }

    public int getObtainMidTime() {
        return obtainMidTime;
    }

    public void setObtainMidTime(int obtainMidTime) {
        this.obtainMidTime = obtainMidTime;
    }
}
